﻿using System;
using Microsoft.SharePoint;

namespace BoldBrick.SharePoint.CommonControls.Utils
{
	public class EventsHelper
	{
		public class NoEvents : SPEventReceiverBase, IDisposable
		{
			public NoEvents()
			{
				this.EventFiringEnabled = false;
			}

			public void Dispose()
			{
				this.EventFiringEnabled = true;
			}
		}
	}
}
